package com.bsj.travel.system;

import com.bsj.travel.security.annotation.EnableCustomConfig;
import com.bsj.travel.security.annotation.EnableRyFeignClients;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.web.bind.annotation.CrossOrigin;

/**
 * @author yinhao
 * @version 1.0
 * @description 系统API服务
 * @date 2023/11/3
 */
@EnableCustomConfig
@EnableRyFeignClients
@CrossOrigin(origins = "*", maxAge = 3600)
@SpringBootApplication(scanBasePackages = {"com.bsj.travel"})
public class TravelCloudSystemApplication {

    public static void main(String[] args) {
        SpringApplication.run(TravelCloudSystemApplication.class, args);
        System.out.println("(◠‿◠)ﾉﾞ  系统服务启动成功   ლ(´ڡ`ლ)ﾞ ");
    }
}
